package models

// WzjCustomerContact 客户合同信息表
type WzjCustomerContact struct {
	ContactId    int64  `gorm:"column:contact_id;type:bigint(20);primary_key;AUTO_INCREMENT;comment:主键，自增" json:"contact_id"`
	CustomerId   int64  `gorm:"column:customer_id;type:bigint(20);comment:合同id;NOT NULL" json:"customer_id"`
	ContactName  string `gorm:"column:contact_name;type:varchar(50);comment:联系人姓名;NOT NULL" json:"contact_name"`
	ContactPhone string `gorm:"column:contact_phone;type:varchar(255);comment:联系人电话" json:"contact_phone"`
	CreateUserId int64  `gorm:"column:create_user_id;type:bigint(20);comment:创建人;NOT NULL" json:"create_user_id"`
	CreateDate   int64  `gorm:"column:create_date;type:bigint(20);comment:创建时间;NOT NULL" json:"create_date"`
}

func (m *WzjCustomerContact) TableName() string {
	return "wzj_customer_contact"
}
